#ifndef _UTIL_H_
#define _UTIL_H_

template<typename T>
int noRelease(SQUserPointer up,SQInteger size)
{
    return 0;
}

std::string toUTF8(const wchar_t* str);
std::wstring toWCS(const char* str);

bool isPointInBox(const sf::Vector2f& size, const sf::Matrix3& transform, const sf::Vector2f& point);
bool checkBoxCollision(const sf::Vector2f& size,const sf::Matrix3& transform, const sf::Vector2f& size2,const sf::Matrix3& transform2);

#endif